package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 待处理隐患台账对象 bus_hidden_risk
 * 
 * @author ling
 * @date 2024-07-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BusHiddenRisk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 删除标识 */
    private String delFlag;

    /** 创建者ID */
    private Long createUser;

    /** 更新者ID */
    private Long updateUser;

    /** 任务批次编码 */
    private String taskUniCode;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 设备类型名称 */
    private String deviceTypeLabel;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 街道ID */
    @Excel(name = "街道ID")
    private Long streetId;

    /** 所属街道 */
    private String streetName;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long neighborhoodId;

    /** 所属小区 */
    private String neighborhoodName;

    /** 班组ID */
    private Long teamId;

    /** 所属班组 */
    private String teamName;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long personId;

    /** 负责人员 */
    private String personName;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private String taskCode;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 设备ID */
    private Long deviceId;

    /** 设施类型 */
    @Excel(name = "设施类型")
    private String deviceClassification;

    /** 设施类型名称 */
    private String deviceClassificationLabel;

    /** 状态 */
    @Excel(name = "状态")
    private String taskStatus;

    /** 数量 */
    @Excel(name = "数量")
    private String taskStatusNumber;

    /** 维保图片 */
    @Excel(name = "维保图片")
    private String taskImages;

    /** 备注 */
    @Excel(name = "备注")
    private String taskRemarks;

    /** 维保时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "维保时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date completeTime;

    /** 维保人员ID */
    private Long completePersonId;

    /** 是否确认 */
    private String confirmStatus;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("delFlag", getDelFlag())
            .append("createUser", getCreateUser())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("taskUniCode", getTaskUniCode())
            .append("deviceCode", getDeviceCode())
            .append("deviceType", getDeviceType())
            .append("deviceTypeLabel", getDeviceTypeLabel())
            .append("address", getAddress())
            .append("streetId", getStreetId())
            .append("streetName", getStreetName())
            .append("neighborhoodId", getNeighborhoodId())
            .append("neighborhoodName", getNeighborhoodName())
            .append("teamId", getTeamId())
            .append("teamName", getTeamName())
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .append("taskCode", getTaskCode())
            .append("taskName", getTaskName())
            .append("deviceId", getDeviceId())
            .append("deviceClassification", getDeviceClassification())
            .append("deviceClassificationLabel", getDeviceClassificationLabel())
            .append("taskStatus", getTaskStatus())
            .append("taskStatusNumber", getTaskStatusNumber())
            .append("taskImages", getTaskImages())
            .append("taskRemarks", getTaskRemarks())
            .append("completeTime", getCompleteTime())
            .append("completePersonId", getCompletePersonId())
            .append("confirmStatus", getConfirmStatus())
            .toString();
    }
}
